﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Daphne.Modularity;
using Microsoft.Practices.Unity;
using Clk = Daphne.ControlsMetro.Clock;

namespace Daphne.ControlsMetro
{
    /// <summary>
    /// Module for Metro Controls
    /// </summary>
    public class ControlsMetroModule: ModuleBase
    {
        /// <summary>
        /// Initialization
        /// </summary>
        public override void Initialize()
        {
            // register the clock business class
            Clk.Clock clock = Unity.Resolve<Clk.Clock>();
            Unity.RegisterInstance<Clk.IClock>(clock);                                 
        }
    }
}
